<?Php
	require_once('Model/getconfig.php');

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="css/style.css" rel="stylesheet" type="text/css" />


	<script type="text/javascript" charset="utf-8" src="js/jquery-1.3.2.min.js"></script>	
	<script type="text/javascript" charset="utf-8" src="js/jqFancyTransitions.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/custom.js"></script>	


<script type="text/javascript" src="js/jquery.easing.1.1.1.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="js/jquery.tools.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>    

<script  language="JavaScript" src="reg_businesslist.js"></script>
</head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="100" valign="top">
 <?php require_once('header.php') ?>
	
	<table width="1000" height="1011" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr>
        <td width="692" height="12">&nbsp;</td>
        <td width="308">&nbsp;</td>
      </tr>
      <tr>
        <td height="999" valign="top">
          <div id="result"></div>
          <div id="contact_form">
            <form action="registration_save.php" name="contact_form" id="validate_form" method="post">
              <ul>
                <li>
                  <label for="Username"><span class="product-reviews-title">Username</span>: (*)</label>
                  <input name="textUsername" type="text" class="required" id="textUsername" value="" maxlength="20" />
                </li>
                <li>
                  <label for="Password"><span class="product-reviews-title">Password</span>: (*)</label>
                  <input name="textpassword" type="password" class="required" id="textpassword" value="" maxlength="20" />
                </li>
                <li>
                  <label for="Confirm Password"><span class="product-reviews-title">Confirm Password</span>: (*)</label>
                  <input name="textconfirmpassword" type="password" class="required" id="textconfirmpassword" value="" maxlength="20" />
                </li>
                <li>
                  <label for="name"><span class="product-reviews-title">Full Name</span>: (*)</label>
                  <input name="texName" type="text" class="required" id="texName" value="" size="75" />
                </li>
                <li>
                  <label for="State"><span class="product-reviews-title">Type of Business</span>: (*)</label>
                  <select class="required" name="cmbTypeofbusiness" id="cmbTypeofbusiness"  onchange="subbusinesscheck_reg(this.value)"   >
                    <option value="">Type of Business</option>
<?Php
	$arrMenu=Model_typeofbusiness::get_Typeofbusiness();
	foreach($arrMenu as $objMenu){ 
		//$cCode=$objMenu->getFixedcode(); 
		$Typeofbusiness=$objMenu->getTypeofbusiness(); 		
?>
                    <option value="<?Php echo $Typeofbusiness ?>" ><?Php echo $Typeofbusiness ?></option>
<?php
	}
							
?>
                  </select>
                </li>
                <li>
                  <label for="State"><span class="product-reviews-title">Select your field</span>: (*)</label>
                  <div id="subbusiness">
                    <select class="required" name="cmbBusinesssublist" id="cmbBusinesssublist"  >
                      <option value="">Select your field</option>
                    </select>
                  </div>
                </li>
                <li>
                  <label for="address">Address: (*)</label>
                  <textarea  id="texaddr" name="texaddr" rows="8" cols="40" class="required"></textarea>
                </li>
                <li>
                  <label for="State"><span class="product-reviews-title">State</span>: (*)</label>
                  <select class="required" name="cmbcontState" id="cmbcontState"  >
                    <option value="">Select State</option>
                    <?Php
	$arrMenu=Model_fixedcode::get_Fixedcode('STAT');
	foreach($arrMenu as $objMenu){ 
	//	$cCode=$objMenu->getFixedcode(); 
		$cCodeDesc=$objMenu->getCodedesc(); 

		
?>
                    <option value="<?Php echo $cCodeDesc; ?>" ><?Php echo $cCodeDesc; ?></option>
                    <?php		
		

	}
							
?>
                  </select>
                </li>
                <li>
                  <label for="State"><span class="product-reviews-title">District</span>: (*)</label>
                  <span class="fieldbox">
                  <select class="required" name="cmbDist"  id="cmbDist" >
                    <option value="">Select District</option>
                    <?Php
	$arrMenu=Model_listeddistrict::get_Listeddistrictvalue();
	foreach($arrMenu as $objMenu){ 
		$district=$objMenu->getDistrict(); 
?>
                    <option value="<?Php echo $district; ?>" ><?Php echo $district; ?></option>
                    <?php		

	}
?>
                  </select>
                  </span></li>
                <li>
                  <label for="email">Your Email: (*)</label>
                  <input name="textEmail" type="text" class="required" id="textEmail" value="" maxlength="35">
                </li>
                <li>
                  <label for="phone">Contact Number: (*) </label>
                  <input name="phone" type="text" class="required" id="phone" value="" maxlength="15" />
                </li>
                <li>
                  <label for="address">Your Details: (*)</label>
                  <textarea  id="texdetails" name="texdetails" rows="8" cols="40" class="required"></textarea>
                </li>
                <br />
                <h5>Registration Pin  Details</h5>
                <hr />
                <h7></h7>
                <li>
                  <label for="phone">Registration Pin: </label>
                  <input name="textregpin" type="text" id="textregpin" value="" class="required" maxlength="20" />
                </li>
                <li>
                  <input name="submit" type="submit" class="button" value="Send">
                  <span class="loading"></span></li>
              </ul>
            </form>
          </div>
          <p> </p>
          <br />
<br />
<br />
<br />
</td>
        <td valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="82" valign="top">
			
			<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td colspan="2"><h3>Existing user</h3></td>
              </tr>
              <tr>
                <td height="31" colspan="2"><input name="textfield" type="text" size="30" maxlength="20" /></td>
              </tr>
              <tr>
                <td width="55%"><input name="textfield2" type="text" size="20" maxlength="20" /></td>
                <td width="45%"><input type="submit" name="Submit" value="Login" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="55">&nbsp;</td>
          </tr>
          <tr>
            <td height="99">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table>
 <?php require_once('footer.php') ?>
	
	</td>
  </tr>
</table>
</body>
</html>
